package com.codestd.security;

import com.codestd.security.config.SystemSettings;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.data.redis.repository.configuration.EnableRedisRepositories;

@SpringBootApplication(scanBasePackages = {"com.codestd.security.shiro.jwt"})
@EnableConfigurationProperties({SystemSettings.class})
@MapperScan(basePackages = {"com.codestd.security.mapper"})
@EnableRedisRepositories(basePackages = {"com.codestd.security.redis.repository"})
public class SpringBootShiroApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootShiroApplication.class, args);
    }
}
